package org.freedoit.common.data;

import java.util.List;

import org.freedoit.common.shared.SharedProject;
import org.freedoit.common.shared.SharedTask;
import org.freedoit.common.shared.SharedTaskType;

public class FreeDoitSendReceiveResponse extends DefaultFreeDoitResponse implements FreeDoitResponse {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 7420549845510233474L;

	private List<SharedProject> sendProjects;
	
	private List<SharedTask> sendTasks;

	private List<SharedTaskType> sendTaskTypes;

	private List<SharedProject> receivedProjects;
	
	private List<SharedTask> receiveTasks;

	private List<SharedTaskType> receiveTaskTypes;
	
	public FreeDoitSendReceiveResponse() {
		
	}

	public FreeDoitSendReceiveResponse(int code) {
		super(code, System.currentTimeMillis());
	}
	
	public FreeDoitSendReceiveResponse(int code, long timestamp) {
		super(code, timestamp);
	}
	
	public FreeDoitSendReceiveResponse(List<SharedProject> sendProjects,
			List<SharedTask> sendTasks, List<SharedTaskType> sendTaskTypes,
			List<SharedProject> receivedProjects,
			List<SharedTask> receiveTasks, List<SharedTaskType> receiveTaskTypes) {
		this.sendProjects = sendProjects;
		this.sendTasks = sendTasks;
		this.sendTaskTypes = sendTaskTypes;
		this.receivedProjects = receivedProjects;
		this.receiveTasks = receiveTasks;
		this.receiveTaskTypes = receiveTaskTypes;
		//
	}
	
	public List<SharedProject> getSendProjects() {
		return this.sendProjects;
	}
	
	public void setSendProjects(List<SharedProject> sendProjects) {
		this.sendProjects = sendProjects;
	}
	
	public List<SharedTask> getSendTasks() {
		return this.sendTasks;
	}
	
	public void setSendTasks(List<SharedTask> sendTasks) {
		this.sendTasks = sendTasks;
	}
	
	public List<SharedTaskType> getSendTaskTypes() {
		return this.sendTaskTypes;
	}
	
	public void setSendTaskTypes(List<SharedTaskType> sendTaskTypes) {
		this.sendTaskTypes = sendTaskTypes;
	}
	
	public List<SharedProject> getReceiveProjects() {
		return this.receivedProjects;
	}
	
	public void setReceiveProjects(List<SharedProject> receivedProjects) {
		this.receivedProjects = receivedProjects;
	}
	
	public List<SharedTask> getReceiveTasks() {
		return this.receiveTasks;
	}
	
	public void setReceiveTasks(List<SharedTask> receiveTasks) {
		this.receiveTasks = receiveTasks;
	}
	
	public List<SharedTaskType> getReceiveTaskTypes() {
		return this.receiveTaskTypes;
	}
	
	public void setReceiveTaskTypes(List<SharedTaskType> receiveTaskTypes) {
		this.receiveTaskTypes = receiveTaskTypes;
	}

}
